package com.guoguo.service;

import com.guoguo.base.PageBean;
import com.guoguo.entity.Model;
import com.guoguo.entity.vo.AttentionVO;
import com.guoguo.entity.vo.ModelAttentionVO;
import com.guoguo.entity.vo.ModelsVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2017/8/16.
 */
public interface ModelsService {
    /**
     * 获取模特所有信息
     * userId
     *
     * @return
     */
    Model getModelsById(String modelId);

    int getModels(String ModelId);

    PageBean<ModelsVO> getModelList(int pageNum, int pageSize);


    PageBean<AttentionVO> getAttentionModelList(String userId, int pageNum, int pageSize);

    int deleteByPrimaryKey(String modelId);

    Model selectByPrimaryKey(String modelId);

    Model updateBySelective();

    int updateModel(Model model);

    int updateByPrimaryKey(Model model);

    Model updateByPrimaryKeySelective(Model model);


    int insertSelective(Model model);

    int insert(Model model);


    /**
     * 查询所有模特信息
     *
     * @return
     */
    PageBean<ModelsVO> selectModelsList(int pageNumber, int pageSize);

    List<ModelsVO> selectModelList();

    int UDByPrimaryKey(String modelId);

    Model addModel(String modelId, String modelName, String nickName, String modelIcon, String modelCover, String modelJob, int sex, String height, String weight, String bust, String waistline, String hipline, String country, String city, String args1);
}
